<?php
/**
 * @package Joomla
 * @subpackage Jmonoslideshow
 * @copyright (C) 2010 - Matthieu BARBE - www.ccomca.com
 * @license GNU/GPL v2
 * 
 * Jmonoslideshow is a Joomla extension for Monoslideshow.
 *
 * Jmonoslideshow uses :
 * Monoslideshow (http://www.monoslideshow.com/)
 * Plupload (http://www.plupload.com/) by Moxicode Systems
 * json class by Michal Migurski, Matt Knapp, Brett Stimmerman
 * jquery a JavaScript Library (http://jquery.com/)
 * getid3 library (http://getid3.sourceforge.net/)
 * swfobject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file (http://code.google.com/p/swfobject/)
 * Chained Selects jQuery Plugin (http://www.appelsiini.net/2010/jquery-chained-selects)
 *
 * Jmonoslideshow is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
$params = &JComponentHelper::getParams( 'com_jmonoslideshow' );
$listOrder	= $this->escape($this->state->get('list.ordering'));
$listDirn	= $this->escape($this->state->get('list.direction'));

$ordering 	= $this->state->get('list.ordering')=='rel.ordering';

$categoryId	= $this->state->get('filter.catid');
$categoryId	= $categoryId ? $categoryId[0] : '';
?>

<tr>
  <th width="5"> # </th>
  <th width="20"> <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $this->items ); ?>);" />
  </th>
  <th width="<?php echo $params->get('width_vignette', '120') ?>"> <?php echo JText::_( 'COM_JMONOSLIDESHOW_MEDIAS' ); ?> </th>
  <th> <?php echo JHTML::_('grid.sort',  'COM_JMONOSLIDESHOW_TITLE', 'title', $listDirn, $listOrder ); ?> </th>
  <th> <?php echo JText::_( 'COM_JMONOSLIDESHOW_TYPE' ); ?> </th>
  <th> <?php echo JText::_( 'COM_JMONOSLIDESHOW_CATEGORY' ); ?> </th>
  <th> <?php echo JText::_( 'COM_JMONOSLIDESHOW_TAGS' ); ?> </th>
  
  <th width="8%" nowrap="nowrap"> <?php echo JHTML::_('grid.sort',  'COM_JMONOSLIDESHOW_ORDER', 'rel.ordering', $listDirn, $listOrder ); ?></th>
  
  <th width="10%"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'author', $listDirn, $listOrder); ?> </th>
  <th width="5%"> <?php echo JHtml::_('grid.sort', 'JDATE', 'created', $listDirn, $listOrder); ?> </th>
  <th width="5%" nowrap="nowrap"> <?php echo JHTML::_('grid.sort',  'COM_JMONOSLIDESHOW_PUBLISHED', 'published', $listDirn, $listOrder ); ?> </th>
  <th width="5"> <?php echo JHTML::_('grid.sort',  'COM_JMONOSLIDESHOW_ID', 'id', $listDirn, $listOrder ); ?> </th>
</tr>
